package com.sanyang.lawyer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @program: lawyer
 * @description: 用户表
 * @author: Mis.Feng
 * @create: 2019-10-10 17:47
 **/
@ToString
@Data
@TableName(value = "system_user")
public class System_user implements Serializable {
    
    @TableId(value = "user_id",type = IdType.AUTO)
    private int userId;            //用户id
    private String userName;       //用户名
    private String userPwd;        //密码
    private Hr_emp  hrEmp;          //员工表外键
    private System_role roleId;//角色表外键
    private String userStatus;
    
}
